<?php
/**
 * Footer controller, which is used in all of page at front shop.
 * @author Kota Kakaji
 *
 */
class ControllerCommonFooter extends Controller {
	protected function index() {
		// Controller id
		$this->id = 'footer';
		
		// Load language
		$this->language->load ( 'common/footer' );
		
		$this->data ['text_powered_by'] = sprintf ( $this->language->get ( 'text_powered_by' ), $this->config->get ( 'config_store' ), date ( 'Y', time () ) );
		
		// Set template file
		$this->template = $this->config->get ( 'config_template' ) . 'common/footer.phtml';
		
		// Render
		$this->render ();
	}
}
?>